blob: 16c9f366c1090de2341665cdd59ffffabba9b1a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import type { Metadata } from 'next';
import { UserPage } from './UserPage';
export default async function ({ params }: { params: Promise<{ userId: string }> }) {
const { userId } = await params;
return <UserPage userId={userId} />;
}
export const metadata: Metadata = {
title: 'User',
};
|